package com.loren.designer.data.dto;

import com.fasterxml.jackson.annotation.JsonView;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class ScreenDto implements Serializable {

    private static final long serialVersionUID = 7837735117243766509L;

    public interface ScreenListView {
    }

    @JsonView(ScreenListView.class)
    private String id;

    @JsonView(ScreenListView.class)
    private String name;

    @JsonView(ScreenListView.class)
    private Integer width;

    @JsonView(ScreenListView.class)
    private Integer height;

    @JsonView(ScreenListView.class)
    private String remark;

    private String image;

    private String color;

    @JsonView(ScreenListView.class)
    private Integer enable;

    private String widgets;

    @JsonView(ScreenListView.class)
    private Date createTime;

    @JsonView(ScreenListView.class)
    private Date updateTime;
}
